#ifndef SETKNXMACCMD_H
#define SETKNXMACCMD_H

#include "Command/BaseCmd.h"
#include "Protocol/SWKNXProtocol.h"
class setKNXMacCmd: public BaseCmd
{
     Q_OBJECT
public:
    enum{FunctionCode = SWKNXProtocol::writeMac};

    Q_INVOKABLE explicit setKNXMacCmd(QObject *parent = 0);

    Package toPackage();
    void unPackage(Package package);

    void setKNXMac(quint16 mac);

  private:
    quint16 m_KNXMac;
};

#endif // SETKNXMACCMD_H
